home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2008 March
/
PCWorld_2008-03_cd.bin
/
temacd
/
fortknox
/
fk-setup225.exe
/
{app}
/
FortKnoxOn.vbs
< prev
next >
Wrap
Text File
|
2006-02-27
|
433b
|
20 lines
Set objSecurityCenter = GetObject("winmgmts:\\.\root\SecurityCenter")
Set colFirewall = objSecurityCenter.ExecQuery("Select * From FirewallProduct",,48)
For Each objFirewall In colFirewall
Dim prodName, compValue
prodName = "FortKnox Personal Firewall"
compValue = StrComp(objFirewall.displayName, prodName)
if compValue = 0 then
objFirewall.enabled=TRUE
objFirewall.Put_
end if
Next